#!/bin/sh
#cp source.list
apt-get install -y pmount locales ttf-arphic* ttf-freefont vim sudo file-roller cabextract ntfs-3g locate build-essential g++-4.1 ctags autoconf automake libtool tree csh tcsh gawk apache2 php5 ssh samba zlib1g-dev tcl tcl-dev sun-java6-jdk python-dev python2.4 python2.4-dev python-profiler python-psyco

apt-get install -y xorg gnome-core gconf-editor gnome-system-tools gnome-theme* nautilus-open-terminal gnome-audio esound alsa-oss alsa-utils gnome-alsamixer sysvconfig modconf nautilus-gksu gnome-specimen gnome-screensaver gnome-power-manager xfonts-terminus iceweasel d4x vim-gnome graphviz imagemagick gv evince xpdf-chinese-simplified 
#apt-get install -y linux-image-2.6-686-bigmem
#apt-get install -y  xmms2
#apt-get install -y dia xfig gnuplot gxine vlc gthumb filezilla fcitx


# alsaconf

#dpkg-reconfigure locales

#/etc/sudoers:   scd ALL=(ALL) ALL

# /etc/samba/smb.conf
# security -> user
# read only -> no
# cat /etc/passwd | mksmbpasswd > /etc/samba/smbpasswd
# smbpasswd scd

cp pkuon /usr/bin
chmod a+x /usr/bin/pkuon
cp pkuoff /usr/bin
chmod a+x /usr/bin/pkuoff

#scd="/home/scd"
#cp _vimrc_linux $scd/.vimrc
#chown scd $scd/.vimrc
#cp _bashrc $scd/.bashrc
#chown scd $scd/.bashrc
#cp 95im_init $scd/X11/Xsession.d/

#dpkg-reconfigure locales
# choose zh_CN.UTF-8
# LC_CTYPE=zh_CN.UTF-8

# time zone
#dpkg-reconfigure tzdata

# cp vim_ide/all ~/.vim
# tune2fs -c 50 /dev/sda5
